home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
bootslow.zip
/
SOURCE.ZIP
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1991-08-12
|
2KB
|
100 lines
#
# Makefile for TASM/tlink
# Tested on TASM 2.0
#
#
## SlowDown for self-booting software
##
## BOOTSLOW
##
## Copyright 1991 Alexander R. Pruss
##
## May be freely distributed, modified and used provided that no copyright
## messages are removed, and this sentence together with the next are
## always included in unmodified form. If you like this program a lot, you are
## invited to show your appreciation by making a tax-deductible donation to
## the Pro-Life or Anti-Abortion movement, but are under no obligation, moral
## or otherwise to do so (especially if you disagree with the goals of this
## movement.)
#
## What I like:
AS = e:\prg\tasm.exe /ml /t
LD = e:\prg\tlink.exe /c
E2B = e:\dos\exe2bin.exe
ARCA = e:\arc\arj a -jm -z
ARCL = e:\arc\arjlock.bat
ZIP = e:\arc\pkzip
UUE = e:\nix\uuencode
EXISTQ = if exist
# ## What is portable:
# AS = tasm /ml /t
# LD = tlink /c
# E2B = exe2bin
# ARCA = arj a -jm -z
# ARCL = nonexistent\archive\locker # this should not exist
# ZIP = pkzip
# UUE = uuencode
# EXISTQ = if exist
COM = /t
AEXT = .arj
ZEXT = .zip
RM = del
EXES = bootsec.bin mkboot.com mktable.com slow.com whirr.com
SRCS = bootsec.asm mkboot.asm mktable.asm slow.asm whirr.asm macros.inc bins.cmt srcs.cmt makefile
DOCS = slow.doc read.me history.doc
all: $(EXES)
.asm.obj:
$(AS) $<
.obj.com:
$(LD) $(COM) $<
.obj.exe:
$(LD) $<
.obj.bin:
$(LD) $<
$(E2B) $*.exe $*.bin
$(RM) $*.exe
clean:
$(RM) *.map
$(RM) *.obj
$(RM) bootsl-s$(AEXT)
archive: bootslow$(AEXT) bootslow$(ZEXT)
distr: bslow-arj.uue bslow-zip.uue
bslow-arj.uue: bootslow$(AEXT)
$(UUE) bootslow$(AEXT) <bootslow$(AEXT) > $<
bslow-zip.uue: bootslow$(ZEXT)
$(UUE) bootslow$(ZEXT) <bootslow$(ZEXT) > $<
source$(AEXT): $(SRCS)
$(EXISTQ) $< $(RM) $<
$(ARCA)srcs.cmt $< $(SRCS)
$(EXISTQ) $(ARCL) $(ARCL) $<
bootslow$(AEXT): $(EXES) $(DOCS) source$(AEXT) bins.cmt
$(EXISTQ) $< $(RM) $<
$(ARCA)bins.cmt $< $(EXES) $(DOCS) source$(AEXT)
$(EXISTQ) $(ARCL) $(ARCL) $<
source$(ZEXT): $(SRCS)
$(EXISTQ) $< $(RM) $<
$(ZIP) $< $(SRCS)
bootslow$(ZEXT): $(EXES) $(DOCS) source$(ZEXT) bins.cmt
$(EXISTQ) $< $(RM) $<
$(ZIP) $< $(EXES) $(DOCS) source$(ZEXT)